package com.jiegui.common.enums;

/**
 * @description:
 * @author: wuqicheng
 * @time: 07/12/2021 11:34 AM
 */
public enum MqttBusiness {
    OPEN_BOX_BLACKOUT("开门断电","00","NO"),
    OPEN_BOX_ELECTRIFY("开门充电","01","NO"),
    POWER_OVERLOAD("功率过载","02","USER"),
    NO_BATTERY("未检测到电池","03","USER"),
    SIGNAL_LINE_ERROR("信号线异常","04","MASTER"),
    SMOKE_ERROR("烟雾报警","05","MASTER"),
    CABINET_FLOODING("柜体浸水","06","MASTER"),
    OPEN_ERROR("异常开门","07","MASTER"),
    CABINET_HIGHT_TEMP("柜体温度过高","08","MASTER"),
    CANGGE_HIGHT_TEMP("餐格温度过高","09","MASTER"),
    DEVICE_OFFLINE("设备离线","10","MASTER"),
    POWER_FAILURE("断电","11","MASTER"),
    OPEN_BOX("开箱","12","NO"),
    CLOSE_BOX("关箱","13","NO"),
    DETECT_UPDATES("检测更新","14","NO"),
    DEVICE_RESTART("设备重启","15","NO"),
    ROLL_BACK("回滚版本","16","NO"),
    UPLOAD_LOGS("上传日志","17","NO")
    ;

    //描述
    private String desc;

    private String sort;

    private String sendMsg;

    public String getSendMsg() {
        return sendMsg;
    }

    public void setSendMsg(String sendMsg) {
        this.sendMsg = sendMsg;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public String getSort() {
        return sort;
    }

    public void setSort(String sort) {
        this.sort = sort;
    }

    MqttBusiness(String desc,String sort,String sendMsg) {
        this.desc = desc;
        this.sort=sort;
        this.sendMsg=sendMsg;
    }
}
